package com.jsb.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jsb.dto.TreeCategory;
import com.jsb.mapper.ExtraCategoryMapper;

@Service
public class ExtraCategoryService {
	@Resource
	private ExtraCategoryMapper extraCategoryMapper;
	
	public List<TreeCategory> findList(String id){
		return extraCategoryMapper.findList(id);
	}
	
	public int count(String id ){
		return extraCategoryMapper.count(id);
	}
	
}
